const koaRouter = require("koa-router");

const nodeInfoRouter = new koaRouter({ prefix: "/nodeInfo" });

const { createNodeInfo } = require("../controller/nodeInfoController");
nodeInfoRouter.post("/createNodeInfo", createNodeInfo);
// 通过父节点id查询节点信息
module.exports = nodeInfoRouter;